Platform Explorer / Nuxeo Platform 6.0

Operation Blob.Get (Get Document File)

Description

Gets a file attached to the input document. The file location is specified using an xpath to the blob property of the document. Returns the file.
Operation id Blob.Get
Category Files
Label Get Document File
Requires
Since

Parameters

Name Description Type Required Default value
xpath string no file:content 

Signature

Inputs document, documents
Outputs blob, bloblist

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.blob.GetDocumentBlob
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Blob.Get",
  "label" : "Get Document File",
  "category" : "Files",
  "requires" : null,
  "description" : "Gets a file attached to the input document. The file location is specified using an xpath to the blob property of the document. Returns the file.",
  "url" : "Blob.Get",
  "signature" : [ "document", "blob", "documents", "bloblist" ],
  "params" : [ {
    "name" : "xpath",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "file:content" ]
  } ]
}